package com.kehutong.contact.enums;

import org.coraframework.util.HashID;

/**
 * 客户员工继承关系状态
 */
public enum ContactFollowStatusEnum implements HashID {

    /** 成功状态 */
    SUCCESS(1, "成功状态"),

    /** 离职待继承 */
    INHERIT_PRE (2, "离职待继承"),

    /** 离职继承中 */
    INHERIT_ING (3, "离职继承中"),

    /** 离职继承失败 */
    INHERIT_FAIL (4, "离职继承失败")
    ;

    private String id;
    private String desc;

    private ContactFollowStatusEnum(Integer id, String desc) {
        this.id = id.toString();
        this.desc = desc;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }

}
